<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>

<html>
<head>

<title>http test </title>

</head>

<body>

<%
          java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
	    java.util.Date currentTime = new java.util.Date();
	    String str_data1 = formatter.format(currentTime);
	    String str_data2 = currentTime.toString();
	    out.println("<h1>Data:"+str_data2+"</h1>");       
 
%>

</body>
</html>